• Performs a deep copy of a storage object or primitive. Supports nested IStorage, IStorageArray, Primitive. All other types are transferred as is.

    Type Parameters

    Parameters

    • storage: T

      The storage object or primitive to be cloned.

    Returns T

    New storage object or primitive; null if cloning failed.

    An exception will be thrown if the copied object is not a storage object.

MMNEPVFCICPMFPCPTTAAATR