Laboratory formation of a simulated comet