code: function cloneServerInitOptions(serverInitOptions) {
      var result = {
          serverUrl: serverInitOptions.serverUrl,
          application: serverInitOptions.application,
          clientApp: serverInitOptions.clientApp,
          tenantOrga: serverInitOptions.tenantOrga,
          logonCallback: serverInitOptions.logonCallback,
      };
      if (result.serverUrl && result.serverUrl[result.serverUrl.length - 1] !== '/') {
          result.serverUrl += '/';
      }
      if (serverInitOptions.clientCertificate) {
          result.clientCertificate = _.clone(serverInitOptions.clientCertificate);
      }
      if (serverInitOptions.agentOptions) {
          result.agentOptions = _.clone(serverInitOptions.agentOptions);
      }
      return result;
  }
docs: creates a deeply independent copy of some [[ServerInitOptions]].
  
  @param serverInitOptions to clone.
  @return {ServerInitOptions} cloned object.