@deprale - I think your comment regarding damage happening during freeze time is valid. I'm not sure why Natsheh thought otherwise. If the OP wants to exclude damage during this time window, I can make an edit.
I too used to always use clamp, not realizing there was a min/max native for a 'one-sided' clamp.