Download my file. It uses BaseElements to do it. But MBS does it the same way. It’s primarily about converting the clipboard contents to/from the correct format.
I don’t know the specific functions for retrieving and setting the clipboard with MBS. Most of the work is calculating the correct format.