• Clones the properties of the given object into a new object in the given target compartment (or the caller compartment if no target is provided). Property values themeselves are not cloned.

    Ignores non-enumerable properties, properties on prototypes, and properties with getters or setters.

    Returns object

Generated using TypeDoc