interface DocumentCloneOptions {
    addSource?: boolean;
    keepId?: boolean;
    save?: boolean;
}

Properties

addSource?: boolean

Track the clone source. Default: false.

keepId?: boolean

Keep the same ID of the original document. Default: false.

save?: boolean

Save the clone to the World database? Default: false.