How to clone objects in Scala?

Viewed 20293

Recently had some problems to copy a complex object. Its internal organization is composed of several nested objects. I noticed that the clone() is not available.

What is the best solution to solve the problem?

2 Answers
Related