Dup active traces before iterating in sample stacks