Clips (limits) this num to the range from min to max (inclusive).
min
max
num clip(num min, num max) => this < min ? min : max < this ? max : this;