The cloning machine is an object introduced in The Sims 4: Get to Work. This object is built with the Invention Constructor, and cannot be purchased without the use of cheats. It requires 2 common metals and 2 common crystals to be constructed.
The cloning machine can be used to duplicate most collectibles, which is useful for creating multiple copies of the ingredients required for making serums or other craftables.
There is a chance that the cloning process may fail, creating a "Rudimentary matter cube", described as "a basic building block of inert elements molded into an undeveloped form", to be produced instead of the duplicated collectible. The rudimentary matter cube is worth §1.
The cloning machine can also be upgraded to clone Sims. The clone will have the same physical appearance, clothing and traits as the original Sim, but will not have their skills, career or relationships.