Check that cube.copy() makes a fresh mask.
Tidy test code.
Merge pull request #1416 from pp-mo/scalar_cube_copy

Check that cube.copy() makes a fresh mask.