It's odd that Samuel Layton-176 would have two sons named John: Layton-1235 and Layton-547. Both of them grew up and had children, so it isn't the case that one child died and another was given the same name. I think I've seen this anomaly before, not just on WikiTree, but now I have an explanation how the mistake got started (and of course people have been copying it blindly ever since).
On page 3 in Stillwell's Historical Miscellany there's a list of the children of Samuel Layton and Janet Oliphant. It looks like William Layton, John Layton, Samuel Layton, Andrew Layton, Thomas Layton, and John Layton. The first John received Freehold land in 1729 but married Ann Runyan and moved to Morris County. The second John lived in Shrewsbury and is the father of Safety Layton, etc. So the first John is John Layton-1235 and the second John is John Layton-547. If you were seeing the original book printed on paper or looking at a photographic reproduction such as <https://archive.org/details/historicalgeneal05instil/page/4>
you could see that John Layton-547 is actually not part of Samuel's list. There's a definite gap between Thomas at the bottom of the list and the next item on the page, namely John Layton-547.
But if you looked carelessly at a "full text" digitized version such as <https://archive.org/stream/historicalgeneal05instil/historicalgeneal05instil_djvu.txt>,
there the spacing between the names on the list matches the spacing between the bottom of the list and the next item on the page. The result is that suddenly Samuel has two sons named John!
So it would be nice if the profile managers who are involved would detach John Layton-547 from being the son of Samuel Layton-176 and instead make him the son of Andrew Layton-380, who is now Samuel's brother.