clipboard : add the `canPaste` method