Clipboard copy

Is there a way, when clicking on a context item, to copy some text to the clipboard?