Add clamp method