fix for issue #420, clone resources array when extending configuration groups