for cloning in window