added setClipboardData function