public AddEditViewModel(Gadget gadget) { OriginalGadget = gadget; Gadget = (Gadget)OriginalGadget.Clone(); IsNew = (Gadget.InventoryNumber == null); }