clamp

Clamps the values in the FloatArray within the range [min, max].