clear unused data when copying to clipboard