What kind of clam is it?

Try to get it to attach to a small piece of rock or shell while it's still on the sand.