Gateway cloning system