Provide API to access selection clipboard, fixes #377.