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: October 8, 2026 at 10:45 AMEdit this page