Tardis keys
Clara knowing she was doomed, could sensibly slip the Doctor her copy of the Tardis key, so Tardis rescue inevitable, if he didn't have a spare already (doesn't the Tardis materialize new copies to the doctor and companions when it needs to anyway?).