Magnetic field generation during the collision of electron-ion plasma clouds