Why do dogs look like their owners?

When a dog looks strikingly like its owner, is that a coincidence or is there more to the story?