clone
clone copied to clipboard
Support shallow clones
Would be nice if this lib had the option to do a shallow clone instead. (better performance when you know that's what you need)
// normal (deep)
var cloned = clone(obj);
// shallow
var cloned = clone(obj, true);