Object.assign didn't seem to work for me, probably because I was resetting with a static const array that was somehow being used within the reactive. Instead I used the following in vue 3:
data.splice(0, Infinity, ...defaultData.slice())