Hotfix/config pop yield fixed
configure_model
mutates the given config. To avoid this, a shallow copy is made at the beginning (not deep so that ROOT objects are not copied, only their reference). So it still can modify the config internally without losing references.
Untested, unittest pass, read to merge