A kilonova following a long-duration gamma-ray burst at 350 Mpc - Nature