Add a tank to the replicator, and make it so the scanner can scan fluid containers to get the fluid itself on memory. Then, of course, allow the replication of fluids.