The type of elements in the array / 数组元素的类型
The source data to clone. 要克隆的源数据
The deeply cloned data. 深度克隆后的数据
This function uses an internal Map to handle circular references safely, preventing infinite recursion during deep cloning.
The cloning depth is limited to 1000; deeper structures throw a RangeError. Holes in sparse arrays are preserved.
此函数使用内部的 Map 来安全处理循环引用,防止深度克隆过程中的无限递归。
克隆深度上限为 1000,超出后抛出 RangeError;稀疏数组中的空洞会被保留。
Deep Clone.
深度克隆