mock: don't mutate resource fields when applying shadow properties