Clamp with integrated z endstop