How to add group function to Array method?

You cannot modify methods available on built-in types