copy method

Implementation

TransformOrigin copy() {
  final transformOrigin = TransformOrigin(null);
  transformOrigin.offset = Offset(offset.dx, offset.dy);
  transformOrigin.alignment = Alignment(alignment.x, alignment.y);
  return transformOrigin;
}