It let you define custom cloning logic.
It handles correctly: the invocation of constructors, the copy of the constructor and [[Prototype]], circular references, normal objects, custom objects, String, Boolean, Number, Error, Promise, Array, RegExp, Date, Map, WeakMap, Set, WeakSet, ArrayBuffer, TypedArray and DataView objects. It does his best even with Proxies. It also allows the copy of non-enumerables props, getters & setters, symbols.
omniclone alternatives and related libraries
Based on the "Editors" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of omniclone or a related project?
omniclone RecommendationsThere are no recommendations yet. Be the first to promote omniclone!
Recently added omniclone resources
Be the first to add one!