Add mirror method to Shape class.