Commit

fbcb7b2

Using { ...formState } when resetting or snapshots-comparing nested form objects in React still shares references on inner arrays, so mutating a nested line-item quietly corrupts your dirty-check baseline. Native structuredClone(formState) handles deep copies cleanly without pulling in lodash.clonedeep.

commit fbcb7b2