public object Clone()
 {
   var clonableItemModel = new ClonableItemModel();
   clonableItemModel.BindableDoubleValue = this.BindableDoubleValue;
   clonableItemModel.SubItemCollection.Clear();
   foreach (var subItem in this.SubItemCollection)
   {
     clonableItemModel.SubItemCollection.Add(subItem);
   }
   clonableItemModel.SelectedSubItem = this.SelectedSubItem;
   clonableItemModel.Index = this.Index;
   clonableItemModel.Caption = $"Cloned Item {this.Index}";
   return clonableItemModel;
 }
        public object Clone()
        {
            var clonableItemModel = new ClonableItemModel();

            clonableItemModel.BindableDoubleValue = this.BindableDoubleValue;
            clonableItemModel.SubItemCollection.Clear();
            foreach (var subItem in this.SubItemCollection)
            {
                clonableItemModel.SubItemCollection.Add(subItem);
            }
            clonableItemModel.SelectedSubItem = this.SelectedSubItem;
            clonableItemModel.Index           = this.Index;
            clonableItemModel.Caption         = $"Cloned Item {this.Index}";
            return(clonableItemModel);
        }