I think `duration *= 2` should work.