Well don't glue clams, they will create these fillaments an attach themselves where ever they want (they can move by the way). But yes make sure the glue, epoxy, or whatever is aquarium safe and can cure underwater. I use an epoxy from two little fishes and it works well for me.