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