Drag and Drop MIDI Clip from DAW Track to Plugin

I understand that we can use the FileDragAndDropTarget class to drag and drop files from the OS/disk, but is there any way to drag and drop a midi clip within the DAW to a plugin as a .mid file?
Thank you!