Move global cmd_clipboard data into an allocated data structure. (dm)