MEL duplicate 複製ツール

//duplicateはinputノードを含めて複製。duplicateLinkInputNodeはinputノードをインスタンス複製。GGinstanceX-1はグループ化、グループ化、インスタンス複製Xスケール-1。
window -width 300 -height 20 -title "duplicate" -rtf 1;
columnLayout -adjustableColumn true;
gridLayout -numberOfColumns 4 -cellWidth 150 -cellHeight 20;
button -label "duplicate" -command "duplicate -rr -un;";
button -label "duplicateLinkInputNode" -command "duplicate -rr -ic;";
button -label "GGinstanceX-1" -command "group; xform -os -piv 0 0 0;group; xform -os -piv 0 0 0;instance; scale -r -1 1 1; ";
button -label "Options" -command "DuplicateSpecialOptions;";
setParent..;
showWindow;