Creating the 'getClipboard' method for segment model in js