Error when using _-CopyRenderWindowToClipboard

When scripting the command _-CopyRenderWindowToClipboard is giving me the following error:
Error copying image to clipboard.
It works fine manually from the renderwindow.
Or do I need to specify the window somehow?
Johan

Yes, I see this. Logged - https://mcneel.myjetbrains.com/youtrack/issue/RH-51514.

– Dale