/// <summary>
 /// Clone the options (to be able to override them).
 /// </summary>
 /// <returns>A clone of the options.</returns>
 public MicrosoftIdentityAuthenticationMessageHandlerOptions Clone()
 {
     return(new MicrosoftIdentityAuthenticationMessageHandlerOptions
     {
         Scopes = Scopes,
         Tenant = Tenant,
         UserFlow = UserFlow,
         IsProofOfPossessionRequest = IsProofOfPossessionRequest,
         TokenAcquisitionOptions = TokenAcquisitionOptions.Clone(),
         AuthenticationScheme = AuthenticationScheme,
     });
 }
 /// <summary>
 /// Clone the options (to be able to override them).
 /// </summary>
 /// <returns>A clone of the options.</returns>
 public DownstreamWebApiOptions Clone()
 {
     return(new DownstreamWebApiOptions
     {
         BaseUrl = BaseUrl,
         RelativePath = RelativePath,
         Scopes = Scopes,
         Tenant = Tenant,
         UserFlow = UserFlow,
         HttpMethod = HttpMethod,
         AuthenticationScheme = AuthenticationScheme,
         TokenAcquisitionOptions = TokenAcquisitionOptions.Clone(),
     });
 }