/// <summary> /// Creates a copy of the <see cref="NapConfig"/> configuration. /// </summary> /// <returns>A copy of the current instance.</returns> public INapConfig Clone() { var clone = new ChildNapConfig { Serializers = new SerializersConfig(Serializers), BaseUrl = BaseUrl, FillMetadata = FillMetadata, Serialization = Serialization, Advanced = Advanced.Clone(), Headers = new Headers(Headers), QueryParameters = new QueryParameters(QueryParameters) }; return(clone); }