The object to clone
Optional
predicate: deepClonePredicateA function that can be used to skip certain properties from being cloned
The cloned object
const clone = deepClone(obj, (owner, propertyName, current) => {
if (propertyName === "dontCloneMe") return false;
return true;
});
Generated using TypeDoc
Deep clones an object