The Object.assign() method modifies the baseStats object directly, which is likely causing the clobbering.
To fix this, you can create a new object using an empty object as the target for Object.assign() or use the spread syntax { ...baseStats, ...booster } to avoid modifying the original baseStats object.