• Create a deep copy of an object (vs. a shallow copy of references)

    Should be replaced by structuredClone once released.

    Type Parameters

    • T

    Parameters

    • value: T

      Object to copy

    Returns T

    Type