Green’s Dictionary of Slang

clammer n.

[one is shut up like a SE clam + slammer n. (2a)]

prison.

[UK]C. Dexter Remorseful Day (2000) 27: There’s somebody coming out of the clammer in a fortnight – listen!