nuke.duplicateSelectedNodes

nuke.duplicateSelectedNodes() → None.

Creates a duplicate of all selected nodes in the current script context group :return None. May return exception it top context group has subgraph locked.