Functional clipboard in desktop app