For clamping correctly see:
If you have a corner zero position to go back to, and the part was clamped square, it might be possible get back to where things were, but any error will increase over the distance of the angle from corner-to-corner and be magnified thereby.