// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. namespace System.Net.Http { internal static class CloneableExtensions { /// /// Convenience method for cloning objects that implement explicitly. /// /// The type of the cloneable object. /// The cloneable object. /// The result of cloning the . internal static T Clone(this T value) where T : ICloneable { return (T)value.Clone(); } } }