Here’s a little thing that I do to prevent passing object references when I really just want a copy of the object itself (a deep copy). This is super simple – much simpler than enumerating an object in order to reveal/copy its properties and values into a new object. Here is an example of a […]