How to Restrict Copy Paste

How to Restrict Copy Paste in GOJS canvas. We are using the palette it should allows only the drag and drop not copy paste. How to avoid the copy and paste the icons in the diagram

It’s unusual to want to place such a restriction. But you can do so by disabling the clipboard on the Palette, by setting Diagram.allowClipboard to false on that Palette.