Barack Obama had to hurry up former US President Bill Clinton onto the presidential plane as the pair left Israel after attending the funeral of Shimon Peres.