Add clearClipboard and tests