Add support to customize jump duration

It enables developers to specify a custom duration for a 'goto' call, for example.