Clamping Variables and Approximate Inference