Second iteration of allow sigma clip by axis.
Replaced maout with copy and simplified, following suggestion of @astrofrog.