[Nuke] duplicating a nuke node

can anyone tell me how should I duplicate a nuke node without using

                nuke.nodeCopy(nukescripts.cut_paste_file()); nukescripts.node_delete(popupOnError=True)
                nuke.nodePaste(nukescripts.cut_paste_file())

if I use the above technique it copies node information to clipboard which is what i dont want, I want to duplicate a reformat node and connect the duplicated one to copy node’s B input…