The object to deep clone.
Optionaloptions: OptionsOptional configuration options for the cloning process:
circleRefs (boolean): Whether to preserve circular references in the object. Default is false.protoProps (boolean): Whether to clone prototype properties of the object. Default is false.A deep clone of the input object, with the specified options applied.
Deep clones an object, optionally maintaining circular references and cloning prototype properties.
This function creates a deep copy of the provided object. It can also preserve circular references and include prototype properties in the cloned object, based on the provided options.
Example: