fixed #591

fully copy local variables for sprite duplicates and (Scratch-like)
clones