Adds a debounce option.