Change implementation

- Use feature detection for cloning
- Move extention event in debounce and throttle