friends_ids: cache a cloned version of result (refs #1)
as successive calls to splice will make it empty