renamed str/vec::from_slice to str/vec::to_unique. #3356

Fix for #3356