* added preservekey parameter to Arrays::categorize.