duplicateScheme

open override fun duplicateScheme(scheme: T, newName: String)(source)

Called when a user wants to duplicate a scheme.

Parameters

scheme

the scheme to duplicate; it is assumed that this is the currently-selected scheme

newName

the name to be applied to the duplicate