Implements set clipboard operation