Paste library based on the Clipboard API for images and text