Allows users to copy to the clipboard. Copied from https://github.com/component/clipboard-dom