public void CloneChildren(BTNode pNode) { for (int i = 0; i < pNode.Children.Count; i++) { BTNode node = pNode.Children[i]; BTNode newNode = node.DeepClone(); AddChild(newNode); } }