export declare const duplicationArr: (arr: T[], key?: K | undefined) => T[];