improved fork of coffeeghost's `pyperclip` module