Add button for duplicating a panel

Feel free to change the icon.

Closes #579