mirror function

Mirror image content along specified axis