@dxos/echo
    Preparing search index...

    Variable cloneConst

    clone: <T extends Obj.Unknown>(obj: T, opts?: CloneOptions) => T = objInternal.clone

    Clones an object or relation. This does not clone referenced objects, only the properties in the object.

    Type declaration

    O(n) in object size; with deep, also clones each qualifying ref target that resolves synchronously (O(reachable subgraph)).