Returns a new instance by overriding the values passed as arguments
YArray copyWith({ int /*U32*/ ? ref, }) => YArray(ref: ref ?? this.ref);