Stack implementation of the clipboard