Duplicate the sleep container before copying it.

@bfulton @adamjt @tlunter