fix(shape): duplication bug with nested custom properties
fix(shape): duplication bug with nested custom properties

PiperOrigin-RevId: 361276279

material-components/material-components-web,material-components/material-components-web,material-components/material-components-web