def detach(self, overlay):
<EOL>for i, a in enumerate(self.animations):<EOL><INDENT>a.layout = a.layout.clone()<EOL>if overlay and i:<EOL><INDENT>a.preclear = False<EOL><DEDENT><DEDENT>
Give each animation a unique, mutable layout so they can run
independently.