Add copy-to-clipboard behavior.