FIX: get_config/set_config uses cloning for safety