Rhino7 Copy the custom obj with command _CopyToClipboard

hi guys. i have create custom obj from the sample https://discourse.mcneel.com/uploads/short-url/2ACJgXlVO1cPAlcpMmbLGSCB2B1.zip ,when i copy the custom obj use
企业微信截图_17127397898767
that’s no problem. and it enter code


But when i use _CopyToClipboard and _paste command ,the new obj is not custom obj any more,and it never enter code like above-mentioned. What should I do to ensure correctness when i use _CopyToClipboard and _paste command.