I just saw an error on the breeding guide. It says that a parent holding destiny knot will cause the offspring to inherit 5 stats from the parent holding the knot rather than 5, each from a random parent. I don't know about Gen 7, but in Gen 6 they are inherited from a random parent.