Closes #16613: Added optional mapping argument to ChainMap.new_child.