/**
  * Deep clone
  *
  * @return cloned CreateSessionResponse
  */
 public CreateSessionResponse clone() {
   CreateSessionResponse result = (CreateSessionResponse) super.clone();
   result.ResponseHeader = ResponseHeader == null ? null : ResponseHeader.clone();
   result.SessionId = SessionId;
   result.AuthenticationToken = AuthenticationToken;
   result.RevisedSessionTimeout = RevisedSessionTimeout;
   result.ServerNonce = ServerNonce;
   result.ServerCertificate = ServerCertificate;
   if (ServerEndpoints != null) {
     result.ServerEndpoints = new EndpointDescription[ServerEndpoints.length];
     for (int i = 0; i < ServerEndpoints.length; i++)
       result.ServerEndpoints[i] = ServerEndpoints[i].clone();
   }
   if (ServerSoftwareCertificates != null) {
     result.ServerSoftwareCertificates =
         new SignedSoftwareCertificate[ServerSoftwareCertificates.length];
     for (int i = 0; i < ServerSoftwareCertificates.length; i++)
       result.ServerSoftwareCertificates[i] = ServerSoftwareCertificates[i].clone();
   }
   result.ServerSignature = ServerSignature == null ? null : ServerSignature.clone();
   result.MaxRequestMessageSize = MaxRequestMessageSize;
   return result;
 }
 /**
  * Deep clone
  *
  * @return cloned TestStackExResponse
  */
 public TestStackExResponse clone() {
   TestStackExResponse result = (TestStackExResponse) super.clone();
   result.ResponseHeader = ResponseHeader == null ? null : ResponseHeader.clone();
   result.Output = Output == null ? null : Output.clone();
   return result;
 }