Archie,

cClipboard is a class in the Graphics Library. Check the class and the documentation. It is of course focussed on images but...

PS: About 20 years back I wrote a KB article about the clipboard format and functions.