Improved copy/paste support to handle multiple cells.