code: def copy_config(config, mutable_config_keys=MUTABLE_CONFIG_KEYS):
      
  
      cloned_config = copy(config)
      # Apply ``copy`` function to mutable config values
      for key in mutable_config_keys:
          cloned_config[key] = copy(config[key])
      return cloned_config
docs: Copy grab config with correct handling of mutable config values.