Add duplicate and copy to clipboard.

Fixes #6
Fixes #5