clone

Clone this node, creating a duplicate in the canvas tree.

clone(): Promise<typeof this | null

Returns

  • Promise<typeof this | null> – The cloned node, or null if the clone failed.