You can give it to someone by eggifying it again (right click with stick) and throwing that to them, or allowing someone to eggify it. By spawning it in, I think it loses its unique lore but keeps the coloured name.