Image.clone

Creates a duplicate of this image asset.

Image.clone() method

Creates a duplicate of this image asset.

Signature:

clone(): this;

Returns:

this

A copy of this image asset

Example

const duplicate = image.clone();
Last updated: November 10, 2026 at 8:00 PMEdit this page