To hold a value inside stated bounds. Whatever exceeds the limit becomes the limit.
Middle Dutch/Middle Low German klampe (a clasp, a brace), of Germanic origin, related to 'clam' and 'cramp'; a clamp holds by pressing rather than by tying.
To hold a value inside stated bounds — whatever tries to exceed the limit simply becomes the limit.