Making segment return to clipboard once it is removed from an idea