cf.Constructs.replace — Documentation
Replace one metadata construct with another.
Note
No checks on the axes are done.