Skip to content

textmode.synth.js / SynthSource / clone

Method: clone()

ts
clone(): SynthSource;

Create a deep clone of this SynthSource. Useful when you want to create a modified version of an existing chain without affecting the original.

Returns

SynthSource

A new SynthSource with the same transform chain

Example