Added snippet for copying to clipboard