In the duplicate options turn on input graph. That should preserve any history. I assume you're duplicating a group, yes?