public static T CreateCopy <T>(T obj) { if (obj != null) { return(XmlConverter.CreateCopy(obj)); } return(default(T)); }