clone method

GMatrix clone()

Creates a new instance of GMatrix with the same values as the current instance, and returns it.

Implementation

GMatrix clone() {
  return GMatrix(
    a,
    b,
    c,
    d,
    tx,
    ty,
  );
}