Duplicating a track including all clips and plugins

What is the best way to achieve this? I had hoped insertTrack with the source track’s state would accomplish this but alas no joy :frowning:

Appears that the way Waveform does this is by using copy and paste?

Yeah, there’s lots of ID re-assignment that needs to happen behind the scenes and copy/paste takes care of all of this for you. Do it via the Clipboard.