Mandarin Equivalent of 啥子树子招啥虫?
Note that 啥子树子招啥虫 emphasizes more on similarity of couples of marriage.

龙生龙，凤生凤，老鼠儿子会打洞。

Dragon's son must be a dragon, phoenix's son must be a phoenix, and that of a mouse must can dig holes.

Meaning:

A great man teaches out great sons, a noble man cultivates noble sons. Normal people have only normal posterities.

Sometimes we neglect the second half of the phrase, i.e. just 龙生龙，凤生凤.