OOP & Design Patterns - Prototype Pattern - Deep Copy vs Shallow Copy
You need to create a new object instance from an existing one such that changes to nested mutable fields in the new object do not affect the original. Which design pattern best fits this requirement?
