Dimensions: allow modification of coordinates argument

Fixes gh-1848