The results, published in the journal Current Biology, reveal that while the dogs were more likely to imitate their owners when expected to do so, they were also able to imitate actions when the command was sprung upon them.