• ES Version of lodash.cloneDeep Creates a shallow clone of value. Assumes that the values of the object are primitive types.

    Parameters

    • value: any

      The value to clone.

    Returns any

    Returns the cloned value.