clone method

HalfVector clone()

Creates a deep copy of the HalfVector, mutations to the original will not affect the copy.

Implementation

HalfVector clone() {
  return HalfVector.fromBinary(toBinary());
}