code: function deepCloneArray(arr) {
    const clone = [];
    forEach(arr, (item, index) => {
      if (typeof item === "object" && item !== null) {
        if (isArray(item)) {
          clone[index] = deepCloneArray(item);
        } else if (isSpecificValue(item)) {
          clone[index] = cloneSpecificValue(item);
        } else {
          clone[index] = deepExtend({}, item);
        }
      } else {
        clone[index] = item;
      }
    });
    return clone;
  }
docs: Recursive cloning array.