Updated from() factory method, now accept also Decimal2 type.