Customize how content is copied (text/html, text/plain)

Is there currently a way in ProseMirror to customize how a Node gets copied to the clipboard? For some Nodes I need to put something different than the actual DOM into the clipboard to improve the compatibility with external programs (e.g. text editor, gmail editor, etc.). Inside our application we often render additional wrappers and elements into the DOM, which do not make sense in an external application.
Being able to for example specify custom serializers for different mime-types (e.g. text/plain, text/html) would be very helpful.

In the next release, you’ll be able to pass a custom DOM serializer for use when copying to the clipboard.