How to "Open Copy" a document programmatically using loadComponentFromURL?

When I try to open a locked document in LibreOffice GUI, I get a OpenLockedQueryBox dialog box that presents me with the options:

  • Open Read-Only
  • Open Copy
  • Open
  • Cancel

Programmatically, using desktop.loadComponentFromURL()

I can do the “Open Read-Only” setting a “ReadOnly” PropertyValue to be true.

How can do a “Open Copy”?