add a basic clipboard

first draft; very likely to change / evolve for a few releases