Here is one possible way. It's just a bunch of sprites that are connected with a bunch of links. Basically the links are a maximum distance that two sprites can be away from each other.
The concept can be applied to physics objects but it also pushes the objects apart so the result is more like jello.
Here i used some loops to pick all the pairs of sprites. It would be pretty tedious without it.