what happens with the turtle instances when you call window.clear in python code example
Example: Python turtle setup
import turtle
window_Name = turtle.Sreen()
turtle_Name = turtle.Turtle()
import turtle
window_Name = turtle.Sreen()
turtle_Name = turtle.Turtle()