code: func (c *Config) Copy() *Config {
  	copy := *c
  
  	if c.XHR != nil {
  		xhr := *copy.XHR
  		copy.XHR = &xhr
  	}
  
  	if c.Client != nil {
  		client := *copy.Client
  		copy.Client = &client
  	}
  
  	if c.Websocket != nil {
  		ws := *copy.Websocket
  		copy.Websocket = &ws
  	}
  
  	return &copy
  }
docs: // Copy returns a new copy of the config object.