clamp method
Clamp each entry n in this in the range [minn]-[maxn].
Implementation
void clamp(Vector2 min, Vector2 max) {
  final Float32List minStorage = min.storage;
  final Float32List maxStorage = max.storage;
  _v2storage[0] =
      _v2storage[0].clamp(minStorage[0], maxStorage[0]).toDouble();
  _v2storage[1] =
      _v2storage[1].clamp(minStorage[1], maxStorage[1]).toDouble();
}