public static PaymentRequest CreateMaskedClone(this PaymentRequest obj) { PaymentRequest clone = obj.DeepClone(); clone.Card?.Mask(); return(clone); }