2.11.0
What's Changed
-
Speed improvements for the clone function. It is now also possible to pass a
instanceCloneparameter:This paramater specifies whether or not to clone instances (objects that are from a custom class or are not created by the Object constructor. This value may be true or the function use for cloning instances.
When an instanceClone function is provided, it will be invoked to clone objects that are not "plain" objects (as defined by isPlainObject). If instanceClone is not specified, the function will not attempt to clone non-plain objects, and will simply copy the object reference.
by @bameyrick in #62
Full Changelog: 2.10.0...2.11.0