Wikipedia esclarece:
Nick intends to leave Amy and expose her lies, but Amy reveals she is pregnant, having artificially inseminated herself with Nick's sperm stored at a fertility clinic.
... o mesmo acontece no romance :
Amy uses Nick's semen they had saved at a fertility clinic to make herself pregnant.