The delicious Cobie Smulders in the role she was born to play