Extract setClipboard method
Make to/from fields copiable