+ Fix crash in units calculator, implement copy function