Exported clipboard function