- The object to clone
- If true, a deep copy of the object is made.
- The copied object
Creates a shallow copy of the passed object. A deep copy of the object is
returned if the optional
deep argument is
If the passed object implements the
Copyable interface, then this
function will delegate to the object's
copy() method and return the
Copyable for further details.