OOP & Design Patterns - Prototype Pattern - Deep Copy vs Shallow Copy
Consider two approaches to cloning an object with nested mutable fields:
1) Manual recursive deep copy implementation.
2) Using built-in language-specific deepcopy utilities.
When is approach 1 preferable over approach 2?
