public ClientCredentials Clone ()
{
ClientCredentials ret = CloneCore ();
if (ret.GetType () != GetType ())
throw new NotImplementedException ("CloneCore() must be implemented to return an instance of the same type in this custom ClientCredentials type.");
return ret;
}