crowddetector: Copy the value of the set structure

This way we avoid problems while releasing the element

Change-Id: I9d74bf899da3aca8ee3badeb6970ad5be3f884a5