Added cleaner method to arrays