Support smart copy and paste during drag and drop