How can I create modules/classes like this in MV?

I created a random treasure system with VX using classes and modules a while ago, and I have no idea how to do this with MV. How would I make something similar to this? For instance, I want to have one book in the database then I want to copy its original properties with the script, and then make more books with different properties by using the script. Below is a part of the code I used for my VX script.

Spoiler: Code
class Game_Armors
def create_armor
id = 0
@Name = ""
@icon_index = 0
@description = ""
@note = ""
@kind = 0
@price = 0
etc....

"Variables"

@id = $data_armors[@armor_number].id
@Name = $data_armors[@armor_number].name
@icon_index = $data_armors[@armor_number].icon_index
@description = $data_armors[@armor_number].description
@note = $data_armors[@armor_number].note
@kind = $data_armors[@armor_number].kind
@price = $data_armors[@armor_number].price


"Other properties and variables to add properties to the armor"

"Creating the item"

$data_armors.push($newitem)
end
end

"Party gains item command afterward."

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-create-modules-classes-like-this-in-mv.124720/