If you first remove the chain and rear wheel (for the cassette) you shouldn't end up with any runoff that will stain anything. Clean the chain and cassette with mineral spirits and re-use. Or wax lube. Do not put oily rags in the washer or dryer, just throw them away.