VecRect.fromPointer(super.ptr, [bool attach = true]) : super.fromPointer() { if (attach) { finalizer.attach(this, ptr.cast<ffi.Void>(), detach: this); } }