This is useful for example when a large area attack is about to happen so Player would like to minimize damage.
Sounds like you're thinking of giving the player the option to specify formations, so other spacing options (like boids) won't work.
I have two ideas for you.
Manhattan distance from origin
What you have sounds good, but you could also try a less-...