Clone the providers array returned for a given path to prevent outside modification.