Fix a bug with copy/paste values: Always copy all dimensions, but paste
them by increasing order