Ion formation by high velocity impacts on porous metal targets