tidy setting of masked pixels
Merge branch 'copy' into warp_to_ski